<?php header('Content-Type: text/vnd.wap.wml; charset=utf-8');?>
<?= '<?' ?>xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="SWH 20 pēdējās">

<?php $i = 0; foreach($last as $item): $i++ ?>
<p><small><?= strftime('%H:%M:%S', $item['timestamp']) ?></small>	<?= $item['izp_name'].' - '.$item['dz_name'] ?>
</p>
<?php endforeach; ?>
 
</card>
 
</wml>
